package com.hua.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hua.common.Response;
import com.hua.domain.MixIngredients;

import java.util.List;


/**
 * @author Distance
 * @description 针对表【mix_ingredients(添加料的表  也是用户可以自行添加的料)】的数据库操作Service
 * @createDate 2022-10-19 19:06:35
 */
public interface MixIngredientsService extends IService<MixIngredients> {

    /**
     * @Description: 获取所有底料
     * @Param: 无
     * @return: Response<List < Ingredient>>
     * @Author: 黄燕峰
     */
    Response<List<MixIngredients>> getAll();


    Response<String> insertMixIngredient(MixIngredients mixIngredients);

    Response<String> deleteById(Integer id);

    Response<String> updateMixIngredient(MixIngredients mixIngredients);
}
